<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:outputStylesheet library="css" name="main.css" />
    <h:head>
        <title> 
            
        </title>
    </h:head>  
      
    <h:body>  
        <div class="page">  
            <div class="header">  
                <h:graphicImage library="img" name="Shop.svg"/><br/><br/>
                <h1>#{title}</h1>
            </div>  
              
            <div class="content">  
                <ui:insert name="content">  

                </ui:insert>  
                <br/><br/>
                
            </div>  
            <div class="footer">  
                
                <f:ajax render="dateTimeText" execute="updater">
                    <h:form>
                        <h:commandButton id="updater" value="Update footer"/><br/><br/>
                        <h:outputText styleClass="dateTimeText" id="dateTimeText" value="#{DateTimeSessionBean.currentDateTime}"/>                       
                    </h:form>
                </f:ajax>
            </div>  
        </div>  
  
    </h:body>  
</html>

